<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="../common.inc" %>    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link href="./css/style1.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="./js/form.js"></script>
<script type="text/javascript" language="javascript">
<!--
	
-->
</script>
</head>
<body>
<form name="repeatCustomerInfoForm" action="" method="post">
	<table class="table_style">
		<tr>
			<td class="title" colspan="5"><fmt:message key='repeatCustomer.lable.repeatNum'/><c:out value="${fn:length(customers)}"/>个</td>
		</tr>
		<tr>
			<td class="title" width="8"></td>
			<td class="title" width="50"><fmt:message key='repeatCustomer.lable.main'/></td>
			<td class="title"><fmt:message key='customer.lable.customerName'/></td>
			<td class="title" width="15%"><fmt:message key='customer.lable.saleperson'/></td>
			<td class="title" width="15%"><fmt:message key='customer.lable.lastlink'/></td>
		</tr>
		<c:forEach var="customer" items="${customers}">
		<tr onmouseover="onmousemoveChange(this,'img${customer.id}')" onmouseout="onmouseoutChange(this,'img${customer.id}')">
												<td height="16" width="8" align="right"><img id="img${customer.id}" src="./images/table_sign2.bmp"></td>
			<td><input id="id" name="id" type="radio" value="${customer.id}"/></td>
			<td align="left"><a href="./customerManage.do?action=customerDetail&customerId=${customer.id}&sign=51" target="main">${customer.customerName}</a></td>
			<td>${customer.salePerson}</td>
			<td><fmt:formatDate value="${customer.lastLink}" pattern="yyyy-MM-dd"/></td>
		</tr>
		</c:forEach>
	</table>
	<input id="selectCustomerId" name="selectCustomerId" type="hidden" value="${selectCustomerId}"/>
	
	<!-- page
	<table class="table_page" cellpadding="0" cellspacing="0">
		<tr>
			<td class="title"></td>
			<td class="title">
				${totalRows}&nbsp;<fmt:message key='common.page.totalRow'/>&nbsp;&nbsp;&nbsp;&nbsp;
				<fmt:message key='common.page.totalPage'/>&nbsp;${totalPages}&nbsp;<fmt:message key='common.page'/>&nbsp;&nbsp;&nbsp;&nbsp;
				<fmt:message key='common.page.current'/>&nbsp;${currentPage}&nbsp;<fmt:message key='common.page'/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
				<a href="javascript:pageCustomer(1);" target="main" hidefocus="true"><fmt:message key='common.page.first'/></a>&nbsp;&nbsp;&nbsp;&nbsp;
				<a href="javascript:pageCustomer(2);" target="main" hidefocus="true"><fmt:message key='common.page.previous'/></a>&nbsp;&nbsp;&nbsp;&nbsp;
				<a href="javascript:pageCustomer(3);" target="main" hidefocus="true"><fmt:message key='common.page.next'/></a>&nbsp;&nbsp;&nbsp;&nbsp;
				<a href="javascript:pageCustomer(4);" target="main" hidefocus="true"><fmt:message key='common.page.last'/></a>
			</td>
			<td class="title"></td>
		</tr>
	</table>
	 -->
</form>
</body> 
</html>